import request from '@/utils/request'

export function getSchoolList(data){
    return request({
        url:'/schoollist',
        method:'get',
        params:data
    });
}

export function editSchool(data){
    return request({
       url:'/editschool',
       method:'post',
       data:qs.stringify(data)
    });
}

export function getSchoolInfo(data){
    return request({
       url:'/schoolinfo',
       method:'get',
       params:data
    });
}

export function delSchool(data){
   return request({
      url:'/delschool',
      method:'get',
      params:data
   });
}
